package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.Customer;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * User: fqy
 * Date: 2021/10/15
 * Time: 19:13
 * Describe:
 */
public interface CustomerDao {

    List<Customer> selectCustomerPageByName(@Param("customerName") String customerName);

    int updateCustomer(@Param("customer") Customer customer,@Param("customerId") Integer customerId);

    int addCustomer(@Param("customer") Customer customer);

    int deleteCustomerBatchByIds(@Param("arr") String[] arr);
}
